/*
 * ChooseBankCardAdapter.java
 * business
 *
 * Created by ChenTao on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.adapter;

import android.content.Context;

import com.yidiandao.business.ui.widget.listview.CommonAdapter;
import com.yidiandao.business.ui.widget.listview.DisplayItemManager;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.displaylistitem.ChooseBankCardListItem;

/**
 * 选择银行卡支付Adapter
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/21 10:42
 */
public class ChooseBankCardAdapter extends CommonAdapter<DisplayListItem> {

    public ChooseBankCardAdapter(Context context) {
        super(context);
    }

    @Override
    protected void registerDisplayListItemMap() {
        DisplayItemManager.register(getAdapterTag(), ChooseBankCardListItem.class);
    }

    @Override
    protected String getAdapterTag() {
        return ChooseBankCardAdapter.class.getSimpleName();
    }
}
